<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <template v-for="book in books">
                <li>书名 :{{book.name}}</li>
                <li>作者 :{{book.author}}</li>
            </template>
        </ul>
    </div>
    <script src="./vue-2.5.js"></script>
    <script>
    let app = new Vue({
        el:"#app",
        data() {
            return {
                books:[{
                    name:'vue 指南',
                    author:'尤雨溪'
                },
                {
                    name:'JS 指南',
                    author:'尤雨溪'
                },
                {
                    name:'JAVA 指南',
                    author:'尤雨溪'
                },
            ]
            }
        },
        
    })
   console.log('app.books :', app.books);
    // Vue.set(app.books,3,{
    //     name:'<<css 解密>>',
    //     author:'[希] Lea Verou'
    // })

    </script>
</body>
</html>